<?php

/*
 * Niken Larasati
 * larasati.n@students.amikom.ac.id
 */

class gol_darah_m extends CI_Model {

    public function __construct() {
        parent::__construct();
    }
    
    function ambil_data(){
        $this->db->select('gol_darah.idgol_darah as idgol_darah,gol_darah.gol_darah as gol_darah');
        $this->db->from('gol_darah');
        return $this->db->get();
    }

}
?>

